const mongoose = require('mongoose')
// 用户的表结构 Schema构造函数    代表数据库中的表
module.exports = new mongoose.Schema({
    username: {
        type: String,
        default: ''
    },
    password: {
        type: String,
        default: ''
    },
    identity: {
        type: Array,
        default: ['']
    },
    mailbox: String,
    phone: String
})